package com.blog.service;

import com.blog.dto.*;
import com.blog.entity.Users;

import java.util.Map;

/**
* @author 电脑小白
* @description 针对表【users】的数据库操作Service
* @createDate 2025-06-27 16:45:57
*/
public interface UsersService  {

    Result login(LoginDTO users);

    Result register(RegisterDTO registerDTO);

    Result captchapicture();



    Result setemailcode(EmailDTO email);

    Result reset_password(ResetPasswordDTO resetPasswordDTO);

    Result refreshToken(String refreshToken);

    Result getUserInfo(String token);
}
